package com.liuyu.common.framework.mybatis.score.po;

import java.io.Serializable;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;

import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @ClassName: ScScoreItem
 * @notes: 通过工具自动生成，请勿手工修改。表sc_score_item的PO对象<br/>
 * @Description: 对应表名：sc_score_item,备注：评分详细
 * @Author: liuyu
 * @Date: 2024-10-15 17:59:41
 * @Version: 1
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
@TableName(value = "sc_score_item")
public class ScScoreItemDO implements Serializable {
	private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
	/**
     * 对应字段：id,备注：序号
     */
    @TableField(value = "id")
	private Integer id;
	/**
     * 对应字段：score_id,备注：评分ID
     */
    @TableField(value = "score_id")
	private Integer scoreId;
	/**
     * 对应字段：rule_id,备注：规则ID
     */
    @TableField(value = "rule_id")
	private Integer ruleId;
	/**
     * 对应字段：rule_item_id,备注：规则项ID
     */
    @TableField(value = "rule_item_id")
	private Integer ruleItemId;
	/**
     * 对应字段：item_code,备注：项目代码
     */
    @TableField(value = "item_code")
	private String itemCode;
	/**
     * 对应字段：item_name,备注：项目名称
     */
    @TableField(value = "item_name")
	private String itemName;
	/**
     * 对应字段：score_type,备注：评分类型;总分：0
     */
    @TableField(value = "score_type")
	private Integer scoreType;
	/**
     * 对应字段：data_type,备注：数据类型;原始分0，1
     */
    @TableField(value = "data_type")
	private Integer dataType;
	/**
     * 对应字段：score,备注：评分
     */
    @TableField(value = "score")
	private BigDecimal score;
	/**
     * 对应字段：min_score,备注：最小评分
     */
    @TableField(value = "min_score")
	private BigDecimal minScore;
	/**
     * 对应字段：max_score,备注：最大评分
     */
    @TableField(value = "max_score")
	private BigDecimal maxScore;
	/**
     * 对应字段：serial_no,备注：序号
     */
    @TableField(value = "serial_no")
	private Integer serialNo;
	/**
     * 对应字段：remark,备注：备注
     */
    @TableField(value = "remark")
	private String remark;
	/**
     * 对应字段：valid_status,备注：有效标志位;1：有效0：无效
     */
    @TableField(value = "valid_status")
	private String validStatus;
	/**
     * 对应字段：create_code,备注：创建人
     */
    @TableField(value = "create_code")
	private String createCode;
	/**
     * 对应字段：create_time,备注：创建时间
     */
    @TableField(value = "create_time")
	private LocalDateTime createTime;
	/**
     * 对应字段：update_code,备注：更新人代码
     */
    @TableField(value = "update_code")
	private String updateCode;
	/**
     * 对应字段：update_time,备注：更新时间
     */
    @TableField(value = "update_time")
	private LocalDateTime updateTime;
	/**
     * 对应字段：under_write_flag,备注：审核状态;0：初始化1：审核通过2：待审核3：取消5：不通过
     */
    @TableField(value = "under_write_flag")
	private String underWriteFlag;
	/**
     * 对应字段：under_write_code,备注：审核人代码
     */
    @TableField(value = "under_write_code")
	private String underWriteCode;
	/**
     * 对应字段：under_write_end_date,备注：审核通过时间
     */
    @TableField(value = "under_write_end_date")
	private LocalDateTime underWriteEndDate;
	/**
     * 对应字段：operate_time_for_his,备注：操作时间
     */
    @TableField(value = "operate_time_for_his")
	private LocalDateTime operateTimeForHis;
    @Version
	/**
     * 对应字段：version,备注：版本号
     */
    @TableField(value = "version")
	private Integer version;
}
